package cpr.command.test;

import cpr.DefaultCommandHandler;
import cpr.context.SolveContext;
import cpr.data.HLVector;

public class CmdTstEvalBin extends DefaultCommandHandler {
	public CmdTstEvalBin() {
		super("tst-sol-eval-bin", "test performance of eval-bin computation", "size score count",null);
	}

	public void execute(String[] params) throws Exception {
		int size = getParameterInteger(params, 1,100);
		int score = getParameterInteger(params, 2,new HLVector(new int[] {5,4,4,3,6}).score);
		int count = getParameterInteger(params, 3,100);
		
		SolveContext solveContext=  getCommandContext().getContext().assertCurrentSolveContext();
		solveContext.tst_createTestEval(size,score,score,count);
	}
	

}
